zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U21: {1}
U31: {1}
U41: {1}
U42: {1}
isNatIList: empty set
U51: {1}
U52: {1}
isNatList: empty set
U61: {1}
U62: {1}
U71: {1}
U72: {1}
isNat: empty set
s: {1}
length: {1}
U81: {1}
nil: empty set
U91: {1}
U92: {1}
U93: {1}
take: {1, 2}
↳ CSR
↳ CSDependencyPairsProof
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
zeros: empty set
cons: {1}
0: empty set
U11: {1}
tt: empty set
U21: {1}
U31: {1}
U41: {1}
U42: {1}
isNatIList: empty set
U51: {1}
U52: {1}
isNatList: empty set
U61: {1}
U62: {1}
U71: {1}
U72: {1}
isNat: empty set
s: {1}
length: {1}
U81: {1}
nil: empty set
U91: {1}
U92: {1}
U93: {1}
take: {1, 2}
Using Improved CS-DPs we result in the following initial Q-CSDP problem.
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
U411(tt, V2) → U421(isNatIList(V2))
U411(tt, V2) → ISNATILIST(V2)
U511(tt, V2) → U521(isNatList(V2))
U511(tt, V2) → ISNATLIST(V2)
U611(tt, V2) → U621(isNatIList(V2))
U611(tt, V2) → ISNATILIST(V2)
U711(tt, L, N) → U721(isNat(N), L)
U711(tt, L, N) → ISNAT(N)
U721(tt, L) → LENGTH(L)
U911(tt, IL, M, N) → U921(isNat(M), IL, M, N)
U911(tt, IL, M, N) → ISNAT(M)
U921(tt, IL, M, N) → U931(isNat(N), IL, M, N)
U921(tt, IL, M, N) → ISNAT(N)
ISNAT(length(V1)) → U111(isNatList(V1))
ISNAT(length(V1)) → ISNATLIST(V1)
ISNAT(s(V1)) → U211(isNat(V1))
ISNAT(s(V1)) → ISNAT(V1)
ISNATILIST(V) → U311(isNatList(V))
ISNATILIST(V) → ISNATLIST(V)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
ISNATILIST(cons(V1, V2)) → ISNAT(V1)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNATLIST(take(V1, V2)) → U611(isNat(V1), V2)
ISNATLIST(take(V1, V2)) → ISNAT(V1)
LENGTH(cons(N, L)) → U711(isNatList(L), L, N)
LENGTH(cons(N, L)) → ISNATLIST(L)
TAKE(0, IL) → U811(isNatIList(IL))
TAKE(0, IL) → ISNATILIST(IL)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(IL), IL, M, N)
TAKE(s(M), cons(N, IL)) → ISNATILIST(IL)
U721(tt, L) → L
U931(tt, IL, M, N) → N
zeros
take(M, IL)
take on positions {1, 2}
U721(tt, L) → U(L)
U931(tt, IL, M, N) → U(N)
U(take(x_0, x_1)) → U(x_0)
U(take(x_0, x_1)) → U(x_1)
U(zeros) → ZEROS
U(take(M, IL)) → TAKE(M, IL)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDP
ISNATILIST(V) → ISNATLIST(V)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
ISNATLIST(take(V1, V2)) → U611(isNat(V1), V2)
U611(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
U411(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(s(V1)) → ISNAT(V1)
ISNATLIST(take(V1, V2)) → ISNAT(V1)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
zeros → cons(0, zeros)
U71(tt, x0, x1) → U72(isNat(x1), x0)
U72(tt, x0) → s(length(x0))
U81(tt) → nil
U91(tt, x0, x1, x2) → U92(isNat(x1), x0, x1, x2)
U92(tt, x0, x1, x2) → U93(isNat(x2), x0, x1, x2)
U93(tt, x0, x1, x2) → cons(x2, take(x1, x0))
length(nil) → 0
length(cons(x0, x1)) → U71(isNatList(x1), x1, x0)
take(0, x0) → U81(isNatIList(x0))
take(s(x0), cons(x1, x2)) → U91(isNatIList(x2), x2, x0, x1)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDP
ISNATILIST(V) → ISNATLIST(V)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
ISNATLIST(take(V1, V2)) → U611(isNat(V1), V2)
U611(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
U411(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(s(V1)) → ISNAT(V1)
ISNATLIST(take(V1, V2)) → ISNAT(V1)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
POL(0) = 1
POL(ISNAT(x1)) = 2·x1
POL(ISNATILIST(x1)) = 2·x1
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1)) = 0
POL(U21(x1)) = 2·x1
POL(U31(x1)) = 0
POL(U41(x1, x2)) = 2 + 2·x1
POL(U411(x1, x2)) = x1 + 2·x2
POL(U42(x1)) = 0
POL(U51(x1, x2)) = 2·x1
POL(U511(x1, x2)) = 2·x1 + 2·x2
POL(U52(x1)) = 2·x1
POL(U61(x1, x2)) = 2·x1
POL(U611(x1, x2)) = 2 + 2·x2
POL(U62(x1)) = 0
POL(cons(x1, x2)) = 2·x1 + x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 2
POL(isNatList(x1)) = 0
POL(length(x1)) = 2·x1
POL(nil) = 2
POL(s(x1)) = 2 + 2·x1
POL(take(x1, x2)) = 2 + x1 + 2·x2
POL(tt) = 0
POL(zeros) = 2
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
U11(tt) → tt
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U21(tt) → tt
ISNATLIST(take(V1, V2)) → U611(isNat(V1), V2)
U611(tt, V2) → ISNATILIST(V2)
ISNAT(s(V1)) → ISNAT(V1)
ISNATLIST(take(V1, V2)) → ISNAT(V1)
ISNATILIST(V) → ISNATLIST(V)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
U411(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → ISNAT(V1)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDP
ISNATILIST(V) → ISNATLIST(V)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
U411(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → ISNAT(V1)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDP
↳ QCSDP
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
POL(0) = 2
POL(ISNAT(x1)) = 1 + 2·x1
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1)) = 1
POL(U21(x1)) = 1 + 2·x1
POL(U31(x1)) = 0
POL(U41(x1, x2)) = 1 + 2·x1
POL(U42(x1)) = 1
POL(U51(x1, x2)) = 0
POL(U511(x1, x2)) = 2 + x1 + 2·x2
POL(U52(x1)) = x1
POL(U61(x1, x2)) = 0
POL(U62(x1)) = 0
POL(cons(x1, x2)) = 1 + 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = 0
POL(length(x1)) = 1 + x1
POL(nil) = 1
POL(s(x1)) = 1 + 2·x1
POL(take(x1, x2)) = 2 + x1 + 2·x2
POL(tt) = 0
POL(zeros) = 2
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
U11(tt) → tt
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U21(tt) → tt
U511(tt, V2) → ISNATLIST(V2)
ISNATLIST(cons(V1, V2)) → ISNAT(V1)
ISNAT(length(V1)) → ISNATLIST(V1)
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDP
↳ QCSDP
ISNATLIST(cons(V1, V2)) → U511(isNat(V1), V2)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDP
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
U411(tt, V2) → ISNATILIST(V2)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
POL(0) = 2
POL(ISNATILIST(x1)) = 1 + x1
POL(U11(x1)) = 0
POL(U21(x1)) = 2·x1
POL(U31(x1)) = 1
POL(U41(x1, x2)) = 2 + 2·x2
POL(U411(x1, x2)) = 2 + x1 + 2·x2
POL(U42(x1)) = 0
POL(U51(x1, x2)) = 2 + 2·x1 + 2·x2
POL(U52(x1)) = 1 + x1
POL(U61(x1, x2)) = 2 + 2·x1 + x2
POL(U62(x1)) = 1
POL(cons(x1, x2)) = 1 + 2·x1 + 2·x2
POL(isNat(x1)) = 0
POL(isNatIList(x1)) = 2 + 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 2 + x1
POL(nil) = 2
POL(s(x1)) = 2 + x1
POL(take(x1, x2)) = 1 + 2·x1 + 2·x2
POL(tt) = 0
POL(zeros) = 2
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
U11(tt) → tt
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U21(tt) → tt
U411(tt, V2) → ISNATILIST(V2)
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSUsableRulesProof
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
↳ QCSDP
ISNATILIST(cons(V1, V2)) → U411(isNat(V1), V2)
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNat(s(V1)) → U21(isNat(V1))
U21(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U61(tt, V2) → U62(isNatIList(V2))
isNatIList(V) → U31(isNatList(V))
U31(tt) → tt
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U62(tt) → tt
U52(tt) → tt
U11(tt) → tt
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
U911(tt, IL, M, N) → U921(isNat(M), IL, M, N)
U921(tt, IL, M, N) → U931(isNat(N), IL, M, N)
U931(tt, IL, M, N) → U(N)
U(take(x_0, x_1)) → U(x_0)
U(take(x_0, x_1)) → U(x_1)
U(take(M, IL)) → TAKE(M, IL)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(IL), IL, M, N)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U(take(x_0, x_1)) → U(x_0)
U(take(x_0, x_1)) → U(x_1)
U(take(M, IL)) → TAKE(M, IL)
TAKE(s(M), cons(N, IL)) → U911(isNatIList(IL), IL, M, N)
Used ordering: Combined order from the following AFS and order.
U911(tt, IL, M, N) → U921(isNat(M), IL, M, N)
U921(tt, IL, M, N) → U931(isNat(N), IL, M, N)
U931(tt, IL, M, N) → U(N)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
U911(tt, IL, M, N) → U921(isNat(M), IL, M, N)
U921(tt, IL, M, N) → U931(isNat(N), IL, M, N)
U931(tt, IL, M, N) → U(N)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
U711(tt, L, N) → U721(isNat(N), L)
U721(tt, L) → LENGTH(L)
LENGTH(cons(N, L)) → U711(isNatList(L), L, N)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
POL(0) = 2
POL(LENGTH(x1)) = 2·x1
POL(U11(x1)) = x1
POL(U21(x1)) = 2·x1
POL(U31(x1)) = 2
POL(U41(x1, x2)) = 2
POL(U42(x1)) = 2
POL(U51(x1, x2)) = 2·x2
POL(U52(x1)) = x1
POL(U61(x1, x2)) = x1
POL(U62(x1)) = x1
POL(U71(x1, x2, x3)) = 2·x2
POL(U711(x1, x2, x3)) = 2·x1 + 2·x2
POL(U72(x1, x2)) = 2·x2
POL(U721(x1, x2)) = 2·x2
POL(U81(x1)) = 2
POL(U91(x1, x2, x3, x4)) = 2·x2 + 2·x3
POL(U92(x1, x2, x3, x4)) = 2·x2 + 2·x3
POL(U93(x1, x2, x3, x4)) = 2·x2 + 2·x3
POL(cons(x1, x2)) = 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2
POL(isNatList(x1)) = x1
POL(length(x1)) = x1
POL(nil) = 2
POL(s(x1)) = 2·x1
POL(take(x1, x2)) = x1 + x2
POL(tt) = 2
POL(zeros) = 0
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)
U81(tt) → nil
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
U31(tt) → tt
zeros → cons(0, zeros)
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U11(tt) → tt
U21(tt) → tt
U711(tt, L, N) → U721(isNat(N), L)
U721(tt, L) → LENGTH(L)
LENGTH(cons(N, L)) → U711(isNatList(L), L, N)
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDP
↳ QCSDPReductionPairProof
↳ QCSDP
↳ QCSDependencyGraphProof
U721(tt, L) → LENGTH(L)
LENGTH(cons(N, L)) → U711(isNatList(L), L, N)
zeros → cons(0, zeros)
U11(tt) → tt
U21(tt) → tt
U31(tt) → tt
U41(tt, V2) → U42(isNatIList(V2))
U42(tt) → tt
U51(tt, V2) → U52(isNatList(V2))
U52(tt) → tt
U61(tt, V2) → U62(isNatIList(V2))
U62(tt) → tt
U71(tt, L, N) → U72(isNat(N), L)
U72(tt, L) → s(length(L))
U81(tt) → nil
U91(tt, IL, M, N) → U92(isNat(M), IL, M, N)
U92(tt, IL, M, N) → U93(isNat(N), IL, M, N)
U93(tt, IL, M, N) → cons(N, take(M, IL))
isNat(0) → tt
isNat(length(V1)) → U11(isNatList(V1))
isNat(s(V1)) → U21(isNat(V1))
isNatIList(V) → U31(isNatList(V))
isNatIList(zeros) → tt
isNatIList(cons(V1, V2)) → U41(isNat(V1), V2)
isNatList(nil) → tt
isNatList(cons(V1, V2)) → U51(isNat(V1), V2)
isNatList(take(V1, V2)) → U61(isNat(V1), V2)
length(nil) → 0
length(cons(N, L)) → U71(isNatList(L), L, N)
take(0, IL) → U81(isNatIList(IL))
take(s(M), cons(N, IL)) → U91(isNatIList(IL), IL, M, N)